var apple = {
	price: 15,
	say: function () {
		console.log(this.price);
	}
};
orange = { price: 10 };
apple.say.call(orange);

var array = [];
var array1 = [1, 2, 3];
var array2 = [4, 5, 6];
array.push.apply(array1, array2);
console.log(Math.max.apply(null, array1));

var bin = apple.say;
bin();
var f = bin.bind(orange);
f();

function g() {
	var arr = Array.prototype.slice.apply(arguments);
	console.log(arr.indexOf(true));
}

g(1, '2');
g(1, true);
